package com.bjc.chapter05;

/**
 * @program: jvm_demo
 * @description:
 * @author: bjc
 * @create: 2022-01-18 21:09
 */
public class DynamicLinkingTest {

    int num = 10;

    public void methodA(){
        System.out.println("methodA()...");
    }

    public void methodB(){
        System.out.println("methodB()...");
        methodA();
        num++;
    }
}